package org.middleware.mapper.system;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.middleware.entity.system.SysPermissions;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* @author zhiqiangwu
* @description 针对表【sys_permissions(权限表)】的数据库操作Mapper
* @createDate 2025-09-05 16:40:01
* @Entity generator.domain.SysPermissions
*/
@Mapper
@Repository
public interface SysPermissionsMapper {

    public int queryInsert(SysPermissions permission);

    public List<SysPermissions> queryPermissionBySystemId(@Param("systemId") int systemId);

    public int queryUpdate(SysPermissions permission);

    public int queryDelete(int id);

}




